package edu.itba.engine;

import edu.itba.engine.population.AbstractIndividual;




/**
 * Interface adaptable evaluates an individual of the population
 * in order to determine how much does it fit to the existing problem
 * 
 * @author Jorge Goldman
 *
 */
public interface Adaptable {

	/**
	 * Evaluates an Individual.
	 * 
	 * @param x The individual to analyze
	 * @return a number between 0 and 1 representing how adapted it is.
	 */
	public Double evaluate(AbstractIndividual x);
}
